package com.zlm.common.dto;

import java.io.Serializable;

/**
 * 接口统一返回DTO
 * @author xhj
 * @date 2019-3-12
 */
public class JsonResultDto implements Serializable {
    private static final long serialVersionUID = 8113616450514648572L;

    /**
     * 响应代码
     */
    private String code;

    /**
     * 响应信息
     */
    private String msg;

    /**
     * 响应数据
     */
    private Object data;

    public String getCode() {
        return code;
    }

    public JsonResultDto setCode(String code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public JsonResultDto setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public Object getData() {
        return data;
    }

    public JsonResultDto setData(Object data) {
        this.data = data;
        return this;
    }
}
